package com.icehand.disruptor.starter.event;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

/**
 * 事件对象
 * @author zhoujunmei
 * @date 2019-07-24 11:41
 * @remark
 */
@EqualsAndHashCode(callSuper = true)
@ToString
@Data
public abstract class DisruptorEvent extends ApplicationEvent {
    private Object body;

    public DisruptorEvent(Object source) {
        super(source);
    }
}
